<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <input type="text" id="special">
</body>
<script src="../js/new.js"></script>

<script>
    // document.body.style.backgroundColor = '#000';
    document.getElementById('special').addEventListener('input', function() {
        console.log(this.value);
        payThis.cash.use = this.value; //调用setter方法，set方法里做输入验证
        this.value = payThis.cash.use; //调用getter方法
    });
</script>
<!-- <script src="../js/jquery.min.js"></script> -->
<script src="../js/operator.js"></script>

</html>